package com.ywl.designpattern.proxy;

public class StaticProxyDemo {
    
    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        UserService userServiceProxy = new UserServiceProxy(userService);
        userServiceProxy.addUser("张三");
    }
}
